import React, { Component } from 'react';
import { BorderBox11 } from '@jiaminghi/data-view-react'

import { connect } from 'dva';
// import { IndexPageStyle, IndexPageContent } from './style';
import sty from './router.module.scss'
import '../assets/css/global.css'
import 'antd/dist/antd.css'


import TopHeader from '../components/headerCom'
import LeftPage from '../components/leftCom';
import CenterPage from '../components/contentCom';
import RightPage from '../components/rightCom';

class IndexPage extends Component {
    constructor(props) {
        super(props);
        this.state = {};
    }
    render() {
        return (
            <div className={sty.bodys}>
                {/* 头部 */}
                <TopHeader className={sty.topHeader} />
                <div className={sty.IndexPageStyle}>
                    {/* 左侧内容 */}
                    <LeftPage />
                    {/* 中间内容 */}
                    <CenterPage className={sty.CenterPage} />
                    {/* 右侧内容 */}
                    <RightPage />
                </div>
            </div>
        );
    }
}

export default connect()(IndexPage);
